package com.htc.model.request;

public class UserRequest extends PageRequest{
	
	private String login_name;
	
	
	public String getLogin_name() {
		return login_name;
	}


	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}


	public String convertWhereStr() {
		StringBuffer where = new StringBuffer(" where 1=1 ");
		if(login_name!=null&&login_name.trim().length()!=0) {
			where.append(" and login_name like '%"+login_name+"%'");
		}
		return where.toString();
	}
	
	
	
}
